/**
 * GameFactory that create game for the GUI which contain the game in many form
 * @author Kridpak Vorametpasuk 5510546638
 * @version May 09 2013
 */
public abstract class GameFactory {

	private static GameFactory instance = null;
	
	/**
	 * getInstance for each class
	 * @return instance is the game's form
	 */
	public static GameFactory getInstance(){
		return instance;
	}
	
	/**
	 * set up game
	 * @param game is the game form
	 */
	public static void setFactory(GameFactory game){
		instance = game;
	}
	
	
	public abstract void createNum();
	public abstract int[] getNum();
	public abstract int getQuestion();
	public abstract void newQuestion();
	public abstract int getScoreExtra();
}
